//C06:postage.c -- postage.
#include <stdio.h>

int main(void)
{
    const int FIRST_OZ = 46;
    const int NEXT_OZ = 20;

    int ounces, cost;
    printf("\tounces\tcost\n");

    for (ounces = 1, cost = FIRST_OZ; ounces <= 16;
        ounces++, cost += NEXT_OZ)
    {
        printf("%5d\t$%4.2f\n", ounces, cost / 100.0);
    }    
}